<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <title>无标题文档</title>
    <link rel="shortcut icon" th:href="@{/img/favicon.ico}"/>
    <link rel="bookmark" th:href="@{/img/favicon.ico}" type="image/x-icon"/>
    <link th:href="@{/css/style.css}" rel="stylesheet" type="text/css"/>
    <script type="text/javascript" th:src="@{/js/jquery.js}"></script>
</head>

<body>
<div class="place"><span>位置：</span>
    <ul class="placeul">
        <li><a th:href="@{/sys/users/userall}">系统管理</a></li>
        <li><a th:href="@{/sys/users/userall}">用户管理</a></li>
        <li><a href="#">详情</a></li>
    </ul>
</div>
<div class="formbody">
    <div class="formtitle"><span>员工信息</span></div>
    <ul class="forminfo">
        <li>
            <label >员工编号</label>
            <cite th:text="${user.uId}">9527</cite>
        </li>
        <li>
            <label>员工姓名</label>
            <cite  th:text="${user.uname}">唐寅</cite>
        </li>
        <li>
            <label>联系电话</label>
            <cite  th:text="${user.utelephone}">17370899727</cite>
        </li>
        <li>
            <label >性别</label>
            <cite th:text="${user.sex==1?'男':'女'}">男</cite>
        </li>
        <li>
            <label  >年龄</label>
            <cite th:text="${user.age}">28</cite>
        </li>
        <li>
            <label  >部门</label>
            <cite th:text="${user.dept.deptName}">研发部</cite>
        </li>
        <li>
            <label  >职位</label>
            <cite th:text="${user.job.jobName}">经理</cite>
        </li>
        <li>
            <label >状态</label>
            <cite th:text="${user.statusId==1?'在职':'离职'}">在职</cite>
        </li>
        <li>
            <label >入职时间</label>
            <cite th:text="${#dates.format(user.hiredate,'yyyy/MM/dd')}">2017-01-30 12:05:05</cite>
        </li>
    </ul>
    <div style="margin-top:20px; margin-left:20px;">
        <input name="" type="button" class="btn" value="返回" onclick="window.history.go(-1);"/>
    </div>
</div>
<script type="text/javascript">
    $('.tablelist tbody tr:odd').addClass('odd');
</script>
</body>
</html>
